package com.wlhse.dto.outDto;

import com.wlhse.dto.getDto.BaseGetDto;
import org.springframework.stereotype.Component;

@Component
public class HazardFactorsOutDto extends BaseGetDto {
    private Integer hazardFactorsID;//
    private String hazardFactor;
    private String code;
    private String name;
    private String lastLevelCode;

    public Integer getHazardFactorsID() {
        return hazardFactorsID;
    }

    public void setHazardFactorsID(Integer hazardFactorsID) {
        this.hazardFactorsID = hazardFactorsID;
    }

    public String getHazardFactor() {
        return hazardFactor;
    }

    public void setHazardFactor(String hazardFactor) {
        this.hazardFactor = hazardFactor;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLastLevelCode() {
        return lastLevelCode;
    }

    public void setLastLevelCode(String lastLevelCode) {
        this.lastLevelCode = lastLevelCode;
    }

    @Override
    public String toString() {
        return "HazardFactorsOutDto{" +
                "id=" + hazardFactorsID +
                ", hazardFactor='" + hazardFactor + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", lastLevelCode='" + lastLevelCode + '\'' +
                '}';
    }
}
